package com.sxhalo.fsms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class DeviceDefectRecord {
	/**
	 * 
	 */
	private Integer defectId;

	/**
	 * 
	 */
	private Integer deviceId;
	
	private String deviceName;

	/**
	 * 设备所在区域ID
	 */
	private Integer areaId;
	
	private String areaName;

	/**
	 * 缺陷地点
	 */
	private String location;

	/**
	 * 
	 */
	private String defect;

	/**
	 * 信息来源，字典表：system系统上报，patrol常规巡检，Manual手动上报
	 */
	private String defectSource;
	
	private String sourceName;

	/**
	 * 巡检任务记录id
	 */
	private Integer jobRecordId;

	/**
	 * 
	 */
	private Integer findPeople;
	
	private String findName;

	/**
	 * 
	 */
	/**
	 * 入职时间
	 */
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")
	private Date findTime;

	/**
	 * 
	 */
	private Integer defectEliminationPerson;
	
	private String eliminationName;

	/**
	 * 
	 */
	private Date defectEliminationTime;

	/**
	 * 缺陷整改方案
	 */
	private String rectificationPlan;

	/**
	 * 
	 */
	private Integer acceptor;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 
	 */
	private Date updateTime;

	public Integer getDefectId() {
		return defectId;
	}

	public void setDefectId(Integer defectId) {
		this.defectId = defectId;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location == null ? null : location.trim();
	}

	public String getDefect() {
		return defect;
	}

	public void setDefect(String defect) {
		this.defect = defect == null ? null : defect.trim();
	}

	public String getDefectSource() {
		return defectSource;
	}

	public void setDefectSource(String defectSource) {
		this.defectSource = defectSource == null ? null : defectSource.trim();
	}

	public Integer getJobRecordId() {
		return jobRecordId;
	}

	public void setJobRecordId(Integer jobRecordId) {
		this.jobRecordId = jobRecordId;
	}

	public Integer getFindPeople() {
		return findPeople;
	}

	public void setFindPeople(Integer findPeople) {
		this.findPeople = findPeople;
	}

	public Date getFindTime() {
		return findTime;
	}

	public void setFindTime(Date findTime) {
		this.findTime = findTime;
	}

	public Integer getDefectEliminationPerson() {
		return defectEliminationPerson;
	}

	public void setDefectEliminationPerson(Integer defectEliminationPerson) {
		this.defectEliminationPerson = defectEliminationPerson;
	}

	public Date getDefectEliminationTime() {
		return defectEliminationTime;
	}

	public void setDefectEliminationTime(Date defectEliminationTime) {
		this.defectEliminationTime = defectEliminationTime;
	}

	public String getRectificationPlan() {
		return rectificationPlan;
	}

	public void setRectificationPlan(String rectificationPlan) {
		this.rectificationPlan = rectificationPlan == null ? null : rectificationPlan.trim();
	}

	public Integer getAcceptor() {
		return acceptor;
	}

	public void setAcceptor(Integer acceptor) {
		this.acceptor = acceptor;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getFindName() {
		return findName;
	}

	public void setFindName(String findName) {
		this.findName = findName;
	}

	public String getEliminationName() {
		return eliminationName;
	}

	public void setEliminationName(String eliminationName) {
		this.eliminationName = eliminationName;
	}

}